<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="icon" href="/img/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/script/jquery-3.3.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/admin/spider/siteEdit.js"></script>
</head>
<body>
<input type="hidden" id="id" th:value="${info.id}">
    <form class="layui-form" id="form" action="/admin/spider/siteSave">
        <div class="layui-form-item">
            <label class="layui-form-label">网站名称</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="siteName" lay-verify="required" id="siteName"  th:value="${info.siteName}" autocomplete="off"  placeholder="请输入网站名称" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">网站地址</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="siteUrl" lay-verify="required" readonly id="siteUrl" autocomplete="off"  th:value="${info.siteUrl}" placeholder="请输入网站地址" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章集合的标签CSS</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="articleelecssquery" lay-verify="required" id="articleelecssquery" th:value="${info.articleelecssquery}" autocomplete="off"  placeholder="请输入文章集合的标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">比较的日期格式（全选则乱填比如199）</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="todayformat" id="todayformat" lay-verify="required" autocomplete="off" th:value="${info.todayformat}" placeholder="请输入比较的日期格式" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">日期所在的标签CSS</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="datecssquery" id="datecssquery" lay-verify="required" autocomplete="off" th:value="${info.datecssquery}" placeholder="请输入dateCssQuery" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">标题所在标签CSS</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="titlecssquery" id="titlecssquery" lay-verify="required"  autocomplete="off"  th:value="${info.titlecssquery}" placeholder="请输入标题所在标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章url所在标签CSS</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="urlcssquery" id="urlcssquery" lay-verify="required"  autocomplete="off" th:value="${info.urlcssquery}" placeholder="请输入文章url所在标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章详情页面文章内容所在标签CSS</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="desccssquery" id="desccssquery" lay-verify="required"  autocomplete="off" th:value="${info.desccssquery}" placeholder="请输入文章详情页面文章内容所在标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章详情中需要排除的标签CSS(可不填)</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="descexcludecssquery" id="descexcludecssquery"  th:value="${info.descexcludecssquery}"  autocomplete="off" placeholder="请输入文章详情中需要排除的标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章详情URL前缀CSS(可不填)</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="descurlpre" id="descurlpre" autocomplete="off" th:value="${info.descurlpre}" placeholder="请输入文章详情URL前缀CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否忽略日期 true是  fasle否(可不填)</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="dateignore" id="dateignore" autocomplete="off" th:value="${info.dateignore}" placeholder="请输入是否忽略日期 true是  fasle否" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否自动保存 1：是 0：否</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="autoSave" id="autoSave" lay-verify="required"  autocomplete="off" th:value="${info.autoSave}" placeholder="请输入文章详情页面文章内容所在标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否自动伪原创 1：是 0：否</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="isMachine" id="isMachine" lay-verify="required"  autocomplete="off" th:value="${info.isMachine}" placeholder="请输入文章详情页面文章内容所在标签CSS" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-col-md-offset1" style="margin-bottom: 25px;">
            <div class="layui-btn" id="submit" lay-filter="form" lay-submit>保存</div>
        </div>


    </form>
</body>
</html>